<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>团队新增用户统计</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('Dataanalysis/company_new_users')}">
        注册时间：
        <input type="text" name="formget[start_time]" class="js-date" value="{$formget.start_time|default=''}" style="width: 90px;" autocomplete="off">-
        <input type="text" class="js-date" name="formget[end_time]" value="{$formget.end_time}" style="width: 90px;" autocomplete="off"> &nbsp; &nbsp;
        <input type="submit" class="btn btn-primary" value="搜索" />
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">序号</th>
                <th>所属团队</th>
                <th>推荐一级跑客数</th>
                <th>推荐一级用户数</th>
                <th>推荐关系用户数</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="lists" item="vo" key="k">
                <tr>
                    <td align="center">{$k+1}</td>
                    <td>{$vo[company_id]|getCompanyName}</td>
                    <td>{$vo.one_pn_count}</td>
                    <td>{$vo[company_id]|get_recomm_one_user_count=$formget[start_time],$formget[end_time]}</td>
                   <td>{$vo[company_id]|get_company_recomm_user_count=$formget[start_time],$formget[end_time]}</td>

                </tr>
            </foreach>
            </tbody>
        </table>
        <if condition="empty($lists)">
            <div style="padding: 30px;text-align: center;color: #999999">
                <i class="fa fa-database" style="font-size: 38px"></i><br />
                暂无数据
            </div>
        </if>

    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>

</body>
</html>